package cn.stylefeng.guns.sys.modular.tao.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 微信会员充值发起记录表
 * </p>
 *
 * @author 
 * @since 2019-08-14
 */
@TableName("tao_recharge_record")
public class RechargeRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    @TableId(value = "id", type = IdType.ID_WORKER)
    private String id;

    /**
     * 用户id
     */
    @TableField("user_id")
    private String userId;

    /**
     * 创建时间
     */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * vip类型表
     */
    @TableField("member_specs_id")
    private Integer memberSpecsId;

    /**
     * 订单状态【0、未完成 1、已完成】
     */
    @TableField("state")
    private Integer state;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getMemberSpecsId() {
        return memberSpecsId;
    }

    public void setMemberSpecsId(Integer memberSpecsId) {
        this.memberSpecsId = memberSpecsId;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    @Override
    public String toString() {
        return "RechargeRecord{" +
        "id=" + id +
        ", userId=" + userId +
        ", createTime=" + createTime +
        ", memberSpecsId=" + memberSpecsId +
        ", state=" + state +
        "}";
    }
}
